package com.itbaizhan.cxpt.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "retry")
public class RetryConfig {
    private int maxAttempts = 3;
    private long initialIntervalMillis = 1000;
    private double multiplier = 2.0;
    private long maxIntervalMillis = 10000;
}